home *** CD-ROM | disk | FTP | other *** search
-
-
- >Dave Murphy is currently writing a Falcon version of NewWadTool - which
- >means we
- >will soon be able to edit / create PWAD & IWAD files from components
- >without the
- >need of a PC.
-
- > Great- we'll finally be able to try out all our new textures.
-
- Yep! Although it does still mean a great deal of work on the part of the
- artists! :)
-
- > Just a little question about this. Will we be able to include tiles
- > with a whole 256 colour palette each? Or are we still limited to Doom's
- > single palette for all graphics?
-
- In order to be able to shade / lighten / darken textures with distance etc, we
- must generate a table of colour entries - 64 levels of 256 colours each. This is
- 64*256 words, or 64*256*2 bytes, or 32k PER PALETTE. If we have 4 palettes in the
- game then we need 128k just for colours - that's before you count the textures which
- are already width*height bytes when in memory.
-
- WAD files have no support for multiple palettes, and the textures have no palette
- index field. If we were to include multiple palettes then we would need to find a
- sensible way of encoding the textures to indicate which palette was to be used for
- each one, but still keep compatibility as much as possible.
-
- Realistically, we are talking about 1 to 8 palettes max for any one level. There's
- no way we can manage a palette for each texture without loosing all of the
- lighting effects and depth-cueing.
-
- I'll have to leave the final decision to those developing the graphics.
-
- > I don't remember from reading Doom Spec
- > whether the graphics are in a form that takes a palette into account. Will
- > we have to have a whole new chunk with palette data for each tile in it?
-
- There's not enough room for a palette per texture. The colour tables made from
- each palette are far too big (32k). Doom itself uses a single master palette of
- 256 colours, with another 13 fade-through palettes for indicating damage /
- powerups etc.
-
- We could manage a palette per texture if we dropped the shading effects, but I
- don't think the loss of atmosphere is worth the gain in colours.
-
- Doug.
-
-